package com.netease.course.blog.service.Impl;

import com.netease.course.blog.dao.BlogDao;
import com.netease.course.blog.meta.Blog;
import com.netease.course.blog.service.BlogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yanfa on 2016/10/30.
 */
@Service
public class BlogServiceImpl implements BlogService {

    @Autowired
    BlogDao blogDao;

    public void save(String title,String content) {
        this.blogDao.save(title,content);
    }
}
